<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping assembly="SimCMS.Model" namespace="SimCMS.Model" xmlns="urn:nhibernate-mapping-2.2">
  <class name="Simmembergroup" table="Sim_member_group" lazy="true" >
    <id name="Id">
      <generator class="identity" />
      <!--<column name="Id" sql-type="int" not-null="true" />-->
    </id>
    <property name="Name">
      <column name="Name" sql-type="nvarchar" not-null="false" />
    </property>
    <property name="IsSystem">
      <column name="IsSystem" sql-type="bit" not-null="false" />
    </property>
    <property name="StartNum">
      <column name="StartNum" sql-type="int" not-null="false" />
    </property>
    <property name="Point">
      <column name="Point" sql-type="int" not-null="false" />
    </property>
    <property name="Allowvisit">
      <column name="Allowvisit" sql-type="bit" not-null="false" />
    </property>
    <property name="Description">
      <column name="Description" sql-type="nvarchar" not-null="false" />
    </property>
    <bag name="Simmember" inverse="true" cascade="none">
      <key column="GroupId" />
      <one-to-many class="Simmember" />
    </bag>
  </class>
</hibernate-mapping>